//
//  MYGResumeModel.swift
//  MYDoctor
//
//  Created by 小火科技 on 2024/4/16.
//

import HandyJSON

class MYGResumeModel: HandyJSON {
    var auth_key = ""
    var avatar = ""
    var business_hours = ""
    var created_at = ""
    var doctor = MYGUserDoctor()
    var email = ""
    var extModel:[MYGResumType] = []
    var id = 0
    var im_id = 0
    var integral = 0
    var login_method = 0
    var media = MYGResumMediaModel()
    var mobile = ""
    var nickname = ""
    var password_hash = ""
    var password_reset_token = ""
    var sessionKey = ""
    var status = ""
    var token = ""
    var type = 1
    var unionid = ""
    var updated_at = ""
    var username = ""
    var verification_token = ""
    var wx_openid = ""
    var xcx_openid = ""
    required init() {
    }
    
}

class MYGResumMediaModel: HandyJSON {
    
    var content = ""
    var created_at = 0
    var doctor_id = 0
    var enable = 0
    var id = 0
    var index = 0
    var updated_at = 0
    
    required init() {
    }
}

class MYGResumType:HandyJSON {
    
    var index = ""
    var modelName = ""
    var isShow = 1
    var list:[MYGResumeAllType] = []
     
    required init() {
    }
}

class MYGResumSchoolType:HandyJSON {
    
    var en_education = ""
    var en_school = ""
    var en_teacher = ""
    var en_yearEnd = ""
    var school = ""
    var teacher = ""
    var yearEnd = ""
    var yearStart = ""
    
    required init() {
    }
}

class MYGResumCompanyType:HandyJSON {
    var company = ""
    var dateEnd = ""
    var dateStart = ""
    var en_company = ""
    var en_dateEnd = ""
    required init() {
    }
}

class MYGResumeAllType: HandyJSON {
    var created_at = ""
    var degree = ""
    var doctor_id = 0
    var education = ""
    var en_education = ""
    var en_experience = ""
    var en_school = ""
    var en_teacher = ""
    var enable = 0
    var experience = ""
    var graduation = ""
    var id = 0
    var index = 0
    var is_show = 0
    var major = ""
    var school = ""
    var teacher = ""
    var updated_at = ""
    var yearEnd = ""
    var yearStart = ""
    
    var company = ""
    var content = ""
    var dateEnd = ""
    var dateStart = ""
    var en_company = ""
    var en_content = ""
    var en_dateEnd = ""
    var en_job_duty = ""
    var jobType = ""
    var job_duty = ""
    
    var cloud_image = ""
    var credential = ""
    
    var en_title = ""
    var title = ""

    required init() {
    }
}


class MYGHospitalModel: HandyJSON {
    var area = ""
    var area_code = ""
    var business_hours = ""
    var city = ""
    var city_code = ""
    var created_at = ""
    var detailed_address = ""
    var doctor_count = ""
    var en_city = ""
    var en_hosp_name = ""
    var en_province = ""
    var en_short_name = ""
    var enable = 0
    var hosp_attribute = ""
    var hosp_key_departments = ""
    var hosp_level = ""
    var hosp_level_name = ""
    var hosp_link = ""
    var hosp_logo = ""
    var hosp_name = ""
    var hosp_phone = ""
    var hosp_simple = ""
    var hosp_type = 0
    var id = ""
    var medical_insurance_type = ""
    var province = ""
    var province_code = ""
    var recommends = ""
    var short_name = ""
    var subject_count = 0
    var type = 0
    var updated_at = ""
    
    required init() {
    }
    
}

class MYGSubjectListModel: HandyJSON {
    var success = ""
    var data:[MYGSubjectDetailModel] = [MYGSubjectDetailModel]()
    var msg = ""
    var status = ""

    required init() {
    }
}
class MYGSubjectDetailModel: HandyJSON {
    var label = ""
    var value = 0
    var selected = false
    required init() {
    }
}
